package de.lmu.mvs.lerngruppenfinder;

import android.os.Build;
import android.os.Bundle;
import android.preference.PreferenceFragment;
import android.annotation.TargetApi;
import android.app.Activity;
import android.view.Menu;

@TargetApi(Build.VERSION_CODES.HONEYCOMB)
public class SettingsFragment extends PreferenceFragment {

	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        
        if(Build.VERSION.SDK_INT > Build.VERSION_CODES.HONEYCOMB){
			getActivity().getActionBar().setDisplayHomeAsUpEnabled(true);
		}

        // Load the preferences from an XML resource
        addPreferencesFromResource(R.xml.preferences);
    }
}
